
// #ifndef VUE3
import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false;

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
import store from '@/store';
import addUniGlobalProps from '@/common/globalProps.js';

// 挂载全局的uni属性及方法
addUniGlobalProps();

export function createApp() {
  const app = createSSRApp(App);
  app.use(store);
  return {
    app
  }
}
// #endif